package com.zzf.concurrent.example.design.pattern.observer.oop.example;

/**
 * @author GaoFeng2017
 * @date 2019/8/31 15:56
 */
public class App {
    public static void main(String[] args) {
        Subject subject = new Subject();
        subject.addObserver(new SimpleObserver());
        subject.addObserver(new ViewObserver());
        subject.updateStatus("blocked");
    }
}
